//
//  LEServieStaffCell.m
//  LoveExpressBusiness
//
//  Created by 刘甲奇 on 2017/5/12.
//  Copyright © 2017年 DFH. All rights reserved.
//

#import "LEServieStaffCell.h"

@interface LEServieStaffCell()

@property (weak, nonatomic) IBOutlet UILabel *serviceStaffLabel;

@property (weak, nonatomic) IBOutlet UIImageView *phoneIV;

@end

@implementation LEServieStaffCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setModel:(LEOderModel *)model
{
    NSString *serviceStr = nil;
    if (model.service_truename) {
       serviceStr = [NSString stringWithFormat:@"服务人员:%@, 电话:%@",model.service_truename,model.service_telphone];
        self.phoneIV.hidden = NO;
        
    }else{
      serviceStr = @"指派服务人员";
        self.phoneIV.hidden = YES;
    }
    self.serviceStaffLabel.text = serviceStr;
    
    
}


@end
